package com.hyh.fireworks.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 相册表
 * </p>
 *
 * @author summerday
 * @since 2020-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Photo对象", description="相册表")
public class Photo extends BaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "图片描述")
    private String description;

    @ApiModelProperty(value = "拍摄地点")
    private String location;

    @ApiModelProperty(value = "拍摄时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime takeTime;

    @ApiModelProperty(value = "图片名称")
    private String name;

    @ApiModelProperty(value = "图片分组")
    private String team;

    @ApiModelProperty(value = "图片地址")
    private String thumbnail;

    @ApiModelProperty(value = "缩略图地址")
    private String url;


}
